package com.ljkj.common.db.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the zjf_user database table.
 * 
 */
@Entity
@Table(name="zjf_user")
@NamedQuery(name="ZjfUser.findAll", query="SELECT z FROM ZjfUser z")
public class ZjfUser implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="user_id")
	private String userId;

	@Column(name="create_time")
	private String createTime;

	@Column(name="create_user")
	private String createUser;

	@Column(name="disabled_state")
	private Integer disabledState;

	@Column(name="update_time")
	private String updateTime;

	@Column(name="update_user")
	private String updateUser;

	@Column(name="user_address")
	private String userAddress;

	@Column(name="user_area")
	private String userArea;

	@Column(name="user_balance")
	private BigDecimal userBalance;

	@Column(name="user_born_day")
	private Integer userBornDay;

	@Column(name="user_born_month")
	private Integer userBornMonth;

	@Column(name="user_born_year")
	private Integer userBornYear;

	@Column(name="user_city")
	private String userCity;

	@Column(name="user_country")
	private String userCountry;

	@Column(name="user_email")
	private String userEmail;

	@Column(name="user_goods_values")
	private Integer userGoodsValues;

	@Column(name="user_last_login")
	private String userLastLogin;

	@Column(name="user_lv_id")
	private String userLvId;

	@Column(name="user_mobile")
	private String userMobile;

	@Column(name="user_name")
	private String userName;

	@Column(name="user_point")
	private Integer userPoInt;

	public Integer getUserPoInt() {
		return userPoInt;
	}

	public void setUserPoInt(Integer userPoInt) {
		this.userPoInt = userPoInt;
	}

	@Column(name="user_province")
	private String userProvince;

	@Column(name="user_pwd")
	private String userPwd;

	@Column(name="user_qq_headurl")
	private String userQqHeadurl;

	@Column(name="user_qq_number")
	private String userQqNumber;

	@Column(name="user_qr_time")
	private String userQrTime;

	@Column(name="user_real_name")
	private String userRealName;

	@Column(name="user_reginster_time")
	private String userReginsterTime;

	@Column(name="user_role_id")
	private String userRoleId;

	@Column(name="user_sex")
	private Integer userSex;

	@Column(name="user_tel")
	private String userTel;

	@Column(name="user_webcaht_headurl")
	private String userWebcahtHeadurl;

	private String user_webchat_openID;

	@Column(name="user_zip_code")
	private String userZipCode;

	public ZjfUser() {
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getDisabledState() {
		return this.disabledState;
	}

	public void setDisabledState(Integer disabledState) {
		this.disabledState = disabledState;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getUserAddress() {
		return this.userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getUserArea() {
		return this.userArea;
	}

	public void setUserArea(String userArea) {
		this.userArea = userArea;
	}

	public BigDecimal getUserBalance() {
		return this.userBalance;
	}

	public void setUserBalance(BigDecimal userBalance) {
		this.userBalance = userBalance;
	}

	public Integer getUserBornDay() {
		return this.userBornDay;
	}

	public void setUserBornDay(Integer userBornDay) {
		this.userBornDay = userBornDay;
	}

	public Integer getUserBornMonth() {
		return this.userBornMonth;
	}

	public void setUserBornMonth(Integer userBornMonth) {
		this.userBornMonth = userBornMonth;
	}

	public Integer getUserBornYear() {
		return this.userBornYear;
	}

	public void setUserBornYear(Integer userBornYear) {
		this.userBornYear = userBornYear;
	}

	public String getUserCity() {
		return this.userCity;
	}

	public void setUserCity(String userCity) {
		this.userCity = userCity;
	}

	public String getUserCountry() {
		return this.userCountry;
	}

	public void setUserCountry(String userCountry) {
		this.userCountry = userCountry;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public Integer getUserGoodsValues() {
		return this.userGoodsValues;
	}

	public void setUserGoodsValues(Integer userGoodsValues) {
		this.userGoodsValues = userGoodsValues;
	}

	public String getUserLastLogin() {
		return this.userLastLogin;
	}

	public void setUserLastLogin(String userLastLogin) {
		this.userLastLogin = userLastLogin;
	}

	public String getUserLvId() {
		return this.userLvId;
	}

	public void setUserLvId(String userLvId) {
		this.userLvId = userLvId;
	}

	public String getUserMobile() {
		return this.userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getUserProvince() {
		return this.userProvince;
	}

	public void setUserProvince(String userProvince) {
		this.userProvince = userProvince;
	}

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserQqHeadurl() {
		return this.userQqHeadurl;
	}

	public void setUserQqHeadurl(String userQqHeadurl) {
		this.userQqHeadurl = userQqHeadurl;
	}

	public String getUserQqNumber() {
		return this.userQqNumber;
	}

	public void setUserQqNumber(String userQqNumber) {
		this.userQqNumber = userQqNumber;
	}

	public String getUserQrTime() {
		return this.userQrTime;
	}

	public void setUserQrTime(String userQrTime) {
		this.userQrTime = userQrTime;
	}

	public String getUserRealName() {
		return this.userRealName;
	}

	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}

	public String getUserReginsterTime() {
		return this.userReginsterTime;
	}

	public void setUserReginsterTime(String userReginsterTime) {
		this.userReginsterTime = userReginsterTime;
	}

	public String getUserRoleId() {
		return this.userRoleId;
	}

	public void setUserRoleId(String userRoleId) {
		this.userRoleId = userRoleId;
	}

	public Integer getUserSex() {
		return this.userSex;
	}

	public void setUserSex(Integer userSex) {
		this.userSex = userSex;
	}

	public String getUserTel() {
		return this.userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserWebcahtHeadurl() {
		return this.userWebcahtHeadurl;
	}

	public void setUserWebcahtHeadurl(String userWebcahtHeadurl) {
		this.userWebcahtHeadurl = userWebcahtHeadurl;
	}

	public String getUser_webchat_openID() {
		return this.user_webchat_openID;
	}

	public void setUser_webchat_openID(String user_webchat_openID) {
		this.user_webchat_openID = user_webchat_openID;
	}

	public String getUserZipCode() {
		return this.userZipCode;
	}

	public void setUserZipCode(String userZipCode) {
		this.userZipCode = userZipCode;
	}
	public ZjfUser setNewObject(ZjfUser zjfUser){
		ZjfUser zjfUserNew=new ZjfUser();
		zjfUserNew.setUserId(zjfUser.getUserId());
		zjfUserNew.setUserName(zjfUser.getUserName());
		zjfUserNew.setUserWebcahtHeadurl((zjfUser).getUserWebcahtHeadurl());
		return zjfUserNew;
	}
}